//封装所有和用户相关的接口函数
import requset from "@/utils/http"

export const loginAPI=({account,password})=>{
     return requset({
        url:'/login',
        method:'POST',
        data:{
            account, 
            password
        }
     })
}


export const getLikeListAPI = ({ limit = 4 }) => {
    return requset({
      url:'/goods/relevant',
      params: {
        limit 
      }
    })
  }